<{extend name="public/base"}>
<{block name="foot_source"}>
<script type="text/javascript" src="/static/webuploader/webuploader.js"></script>
<link rel="stylesheet" type="text/css" href="/static/webuploader/webuploader.css">
<{/block}>
<{block name="content"}>
<!-- left column -->
<div class="col-md-12">
    <!-- general form elements -->
    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title"><{$title}></h3>
        </div>
        <!-- /.box-header -->
        <!-- form start -->
        <form role="form" action="<?php echo url('admin/template/create'); ?>" method="post">
            <div class="box-body">
                <div class="form-group">
                    <label for="title">模板标题</label>
                    <input type="text" class="form-control" id="title" name="title"  placeholder="请输入模板标题">
                </div>
                <div class="form-group">
                    <label for="desc">模板说明</label>
                    <input type="text" class="form-control" id="desc" name="desc" placeholder="请输入模板说明">
                </div>

                <div class="form-group">
                    <label for="path">路径</label>
                    <input type="text" class="form-control" id="path" name="path" placeholder="模板路径">
                </div>


            </div>
            <!-- /.box-body -->

            <div class="box-footer">
                <button type="submit" class="btn btn-primary">提交</button>
                <a href="<?php echo url('admin/template/index'); ?>" class="btn btn-default">返回</a>
            </div>
        </form>
    </div>
    <!-- /.box -->
</div>


<{/block}>

